projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15971f9
)
Strip_html() should always return an allocated string for consistency.
author
robertl
<robertl>
Tue, 3 May 2005 16:02:36 +0000
(16:02 +0000)
committer
robertl
<robertl>
Tue, 3 May 2005 16:02:36 +0000
(16:02 +0000)
util.c
patch
|
blob
|
history
diff --git
a/util.c
b/util.c
index ae4453d0f9ecaca4a9fafe9fa9f83badb318d8f2..d1a5fa82ad3339745b6a87a2a6dbca5d8f748ef7 100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-972,7
+972,7
@@
strip_html(const utf_string *in)
short int taglen;
if (!in->is_html)
- return
in->utfstring
;
+ return
xstrdup(in->utfstring)
;
/*
* We only shorten, so just dupe the input buf for space.
*/